Skip to content

London | 26-SDC-Mar | Khilola Rustamova| Sprint 4 |Prep exercise#541

Open
HilolaRustam wants to merge 10 commits into
CodeYourFuture:mainfrom
HilolaRustam:prep-exercise
Open

London | 26-SDC-Mar | Khilola Rustamova| Sprint 4 |Prep exercise#541
HilolaRustam wants to merge 10 commits into
CodeYourFuture:mainfrom
HilolaRustam:prep-exercise

Conversation

@HilolaRustam

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Briefly explain your PR.
Completed the prep exercise of sprint 4 of Module-Tools.

Questions

@HilolaRustam HilolaRustam added 📅 Sprint 4 Assigned during Sprint 4 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Tools The name of the module. labels Jun 25, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work on these tasks, there are a few bits where you could improve or where explanations are missing

Comment thread prep-exercise/mypy.py
@@ -0,0 +1,11 @@
def double(number):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add some mypy annotations to resolve the error?




def is_adult(self):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you describe the difference between method/function? When might one be better than the other?


try:
age = int(age_input)
except ValueError:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the age is invalid, is there a way to resolve this without exiting the program early?

Same comment for the preferred OS.

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Tools The name of the module. Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 4 Assigned during Sprint 4 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants